﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Raffles.OA.Data
{
    /// <summary>
    /// 报价类目
    /// </summary>
    public class BaseItemDto
    {
        public int? Id { get; set; }
        public int ParentId { get; set; }
        public string Code { get; set; }
        public string Name { get; set; } 
        public string Star { get; set; }
        public decimal? Price { get; set; }
        public string Remark { get; set; }
        public int IsDefault { get; set; }
    }

    /// <summary>
    /// 团组培训明细项
    /// </summary>
    public class BaseActivityDeatilDto
    {
        public int ActivityId { get; set; }
        public List<BaseActivityItemDeatil> ActivityDeatil { get; set; }= new List<BaseActivityItemDeatil>();
    }

    /// <summary>
    /// 团组培训明细项
    /// </summary>
    public class BaseActivityItemDeatil
    {
        public int ActivityId { get; set; }
        public string Name { get; set; }
        public string ItemName { get; set; }
        public string ItemCostName { get; set; }
        public decimal? ItemCostPrice { get; set; }
        public decimal? ItemSalePrice { get; set; }
        public decimal? ItemQty { get; set; }
        public bool Mark { get; set; }
    }

    public class RelatePriceDto
    {
        public int? ItemId { get; set; }
        public string Code { get; set; }
        public decimal? Price { get; set; }
    }
}
